<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form:form method="post" modelAttribute="retailerObj" id="editRetailerForm">
		<table class="table1">
			<tr>
				<td class="td1"><form:label path="tinNumber">TIN NUMBER</form:label></td>
				<td class="td2" colspan="2"><form:input path="tinNumber" /></td>
			</tr>
			<tr>
				<td class="td1"><form:label path="retailerName">RETAILER NAME</form:label></td>
				<td class="td2" colspan="2"><form:input path="retailerName" /></td>
			</tr>
			<tr>
				<td class="td1"><form:label path="retailerAddress">RETAILER ADDRESS</form:label></td>
				<td class="td2" colspan="2"><form:input path="retailerAddress" /></td>
			</tr>
			<tr>
				<td class="td1"><form:label path="retailerEmailId">RETAILER EMAIL ID</form:label></td>
				<td class="td2" colspan="2"><form:input path="retailerEmailId" /></td>
			</tr>
			<tr>
				<td class="td1"><form:label path="retailerPhoneNumber">RETAILER PHONE NUMBER</form:label></td>
				<td class="td2" colspan="2"><form:input path="retailerPhoneNumber" /></td>
			</tr>

			<tr>
				<td class="td1"><form:label path="retailerMobileNumber">RETAILER MOBILE NUMBER</form:label></td>
				<td class="td2" colspan="2"><form:input path="retailerMobileNumber" /></td>
			</tr>
			<tr>
				<td class="td1"><form:label path="month">MONTH</form:label></td>
				<td>
					<form:select path="month">
						<form:options items="${monthMap}" />
					</form:select>
				</td>
			</tr>
			<tr>
				<td class="td1"><form:label path="year">YEAR</form:label></td>
				<td>
					<form:select path="year">
						<form:options items="${yearMap}" />
					</form:select>
				</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td colspan="2"><input type="submit" value="SUBMIT">&nbsp;
					&nbsp;<input type="button" value="CANCEL"></td>
			</tr>
		</table>
	</form:form>
</body>
</html>